<!DOCTYPE html>
<html lang="en">
<head><meta name="generator" content="Hexo 3.9.0">
    <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">

    <meta name="description" content="冯同学的博客">


    <meta name="keywords" content="冯同学的博客">


<title>机型修改帮助文档 | 冯同学的博客</title>



    <link rel="icon" href="/blog/favicon.ico">




    <!-- stylesheets list from _config.yml -->
    
    <link rel="stylesheet" href="/blog/css/style.css">
    



    <!-- scripts list from _config.yml -->
    
    <script src="/blog/js/script.js"></script>
   
  
    
    <script src="/blog/js/tocbot.min.js"></script>
   
  
    
    <script src="/blog/js/clicklove.js"></script>
   
  
    
    <script src="/blog/js/clicksocialvalue.js"></script>
   
  
    



    
    
        
    


</head>
<body>
    <div class="wrapper">
        <header>
    <nav class="navbar">
        <div class="container">
            <div class="navbar-header header-logo"><a href="/blog/">冯同学的Blog</a></div>
            <div class="menu navbar-right">
                
                    <a class="menu-item" href="/blog/archives">帖子</a>
                
                    <a class="menu-item" href="/blog/tag">标签</a>
                
                    <a class="menu-item" href="/blog/友链">友链</a>
                
                    <a class="menu-item" href="/blog/关于">关于</a>
                
                <input id="switch_default" type="checkbox" class="switch_default">
                <label for="switch_default" class="toggleBtn"></label>
            </div>

        </div>
    </nav>

    
    <nav class="navbar-mobile" id="nav-mobile">
        <div class="container">
            <div class="navbar-header">
                <div>
                    <a href="/blog/">冯同学的Blog</a><a id="mobile-toggle-theme">·&nbsp;Light</a>
                </div>
                <div class="menu-toggle" onclick="mobileBtn()">&#9776; Menu</div>
            </div>
            <div class="menu" id="mobile-menu">
                
                    <a class="menu-item" href="/blog/archives">帖子</a>
                
                    <a class="menu-item" href="/blog/tag">标签</a>
                
                    <a class="menu-item" href="/blog/友链">友链</a>
                
                    <a class="menu-item" href="/blog/关于">关于</a>
                
            </div>
        </div>
    </nav>

</header>
<script>

var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?763ce62c604e21949386b5a3e9533b17";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();

    var mobileBtn = function f() {
        var toggleMenu = document.getElementsByClassName("menu-toggle")[0];
        var mobileMenu = document.getElementById("mobile-menu");
        if(toggleMenu.classList.contains("active")){
           toggleMenu.classList.remove("active")
            mobileMenu.classList.remove("active")
        }else{
            toggleMenu.classList.add("active")
            mobileMenu.classList.add("active")
        }
    }
</script>
        <div class="main">
            <div class="container">
    
    
        <div class="post-toc">
    <div class="tocbot-list">
    </div>
    <div class="tocbot-list-menu">
        <a class="tocbot-toc-expand" onclick="expand_toc()">Expand all</a>
        <a onclick="go_top()">Back to top</a>
        <a onclick="go_bottom()">Go to bottom</a>
    </div>
</div>

<script>
    document.ready(
        function () {
            tocbot.init({
                tocSelector: '.tocbot-list',
                contentSelector: '.post-content',
                headingSelector: 'h1, h2, h3, h4, h5',
                collapseDepth: 1,
                orderedList: false,
                scrollSmooth: true,
            })
        }
    )

    function expand_toc() {
        var b = document.querySelector(".tocbot-toc-expand");
        tocbot.init({
            tocSelector: '.tocbot-list',
            contentSelector: '.post-content',
            headingSelector: 'h1, h2, h3, h4, h5',
            collapseDepth: 6,
            orderedList: false,
            scrollSmooth: true,
        });
        b.setAttribute("onclick", "collapse_toc()");
        b.innerHTML = "Collapse all"
    }

    function collapse_toc() {
        var b = document.querySelector(".tocbot-toc-expand");
        tocbot.init({
            tocSelector: '.tocbot-list',
            contentSelector: '.post-content',
            headingSelector: 'h1, h2, h3, h4, h5',
            collapseDepth: 1,
            orderedList: false,
            scrollSmooth: true,
        });
        b.setAttribute("onclick", "expand_toc()");
        b.innerHTML = "Expand all"
    }

    function go_top() {
        window.scrollTo(0, 0);
    }

    function go_bottom() {
        window.scrollTo(0, document.body.scrollHeight);
    }

</script>
    

    
    <article class="post-wrap">
        <header class="post-header">
            <h1 class="post-title">机型修改帮助文档</h1>
            
                <div class="post-meta">
                    
                        作者: <a itemprop="author" rel="author">冯同学</a>
                    

                    
                        <span class="post-time">
                      &nbsp;&nbsp;日期: <a>八月 28, 2019&nbsp;&nbsp;12:55:40</a>
                        </span>
                    
                    
                </div>
            
        </header>

        <div class="post-content">
            <h2 id="注意事项"><a href="#注意事项" class="headerlink" title="注意事项"></a>注意事项</h2><ul>
<li>个别手机，会修改product.失败。但不影响修改机型。</li>
<li>root修改会修改系统文件，可能会导致变砖，所以我<code>推荐使用magisk修改</code>。</li>
<li>就算使用<code>magisk模式，也是需要root权限的</code>。magisk模式和root模式修改只是修改模式不同，但都需要root来修改文件。</li>
<li>部分机型，不能修改或者修改异常，是<code>正常现象</code>的。不用再问我为什么了，我也不知道你的机型有什么问题。<h2 id="软件实现原理"><a href="#软件实现原理" class="headerlink" title="软件实现原理"></a>软件实现原理</h2></li>
<li>root模式:使用shell语句来根据用户输入的机型预置来修改<code>/system/build.prop</code>各项值。</li>
<li>magisk模式:首先通过magisk特定模式来挂载boot，软件的作用是<code>修改已安装模块的配置信息</code>，来达到安装一个机型模块，就可以随意更改机型。</li>
</ul>

        </div>

        
        <section class="post-tags">
            <div>
                <span>Tag:</span>
                <span class="tag">
                    
                    
                        <a href="/blog/tags/机型更改篇/">#机型更改篇</a>
                    
                        
                </span>
            </div>
            <div>
                <a href="javascript:window.history.back();">back</a>
            </div>
        </section>
        <section class="post-nav">
            
                <a class="prev" rel="prev" href="/blog/2020/03/15/如何集成腾讯Bugly/">如何集成腾讯Bugly</a>
            
            
            <a class="next" rel="next" href="/blog/2019/08/23/机型更改关于信息/">机型更改关于信息</a>
            
        </section>


    </article>
</div>

        </div>
        
    </div>
   
   </body>
</html>
